﻿using mozhi.smarterp.Finance.Querys;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.Finance.Banks
{
    public interface IBankAccountAppService : IApplicationService
    {
        Task<BankAccountDto> GetAsync(Guid id);

        Task<List<BankAccountDto>> GetListAsync(BankResultRequestDto query);

        Task<BankAccountDto> CreateAsync(BankAccountCreateDto dto);

        Task<BankAccountDto> UpdateAsync(BankAccountUpdateDto dto);

        Task<bool> DeleteAsync(Guid id);
    }
}
